package com.vx.cloud.dataCloud.Turbine;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.turbine.EnableTurbine;
import org.springframework.context.annotation.Configuration;

/**
 * 使用Turbine监控数据集合
 * Created by aofavx on 2017-8-10.
 */
@Configuration
@EnableAutoConfiguration
//开启Turbine监控数据集合
@EnableTurbine
//启用eureka客户端功能，注册到eureka服务
@EnableDiscoveryClient
public class TurBineServer {
    public static void main(String[] args) {
        SpringApplication.run(TurBineServer.class,args);
    }
}
